package cn.dansj.repository;

import cn.dansj.entity.WebCollect;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WebCollectRepository extends JpaRepository<WebCollect, String>, JpaSpecificationExecutor<WebCollect> {
    @Query("select t from WebCollect  t")
    List<WebCollect> getAll();
}
